﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeHeng_Mes.Model.Table
{
    [SqlSugar.SugarTable("order_status")]
    public class OrderStatus
    {
        [SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        [SugarColumn(ColumnName = "line_name")]
        public string LineName { get; set; }
        [SugarColumn(ColumnName = "plc_name")]
        public string PlcName { get; set; }
        [SugarColumn(ColumnName = "order_id")]
        public string OrderId { get; set; }
        [SugarColumn(ColumnName = "material_id")]
        public string MaterialId { get; set; }
        [SugarColumn(ColumnName = "material_name")]
        public string MaterialName { get; set; }
        [SugarColumn(ColumnName = "production_plan")]
        public string ProductionPlan { get; set; }
        [SugarColumn(ColumnName = "status")]
        public string Status { get; set; }
        [SugarColumn(ColumnName = "order_issued_time")]
        public DateTime OrderIssuedTime { get; set; }
        [SugarColumn(ColumnName = "end_time")]
        public DateTime EndTime { get; set; }


        [SugarColumn(ColumnName = "start_production")]
        public int StartProduction { get; set; }
        [SugarColumn(ColumnName = "end_production")]
        public int EndProduction { get; set; }
        [SugarColumn(ColumnName = "start_power")]
        public string StartPower { get; set; }
        [SugarColumn(ColumnName = "end_power")]
        public string EndPower { get; set; }
        [SugarColumn(ColumnName = "start_gas")]
        public string StartGas { get; set; }
        [SugarColumn(ColumnName = "end_gas")]
        public string EndGas { get; set; }
    }
}
